package com.manager.kudian.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * AccountStatementOrders entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "account_statement_orders")
public class AccountStatementOrders implements java.io.Serializable {

	// Fields

	private Integer asoId;
	private Integer asId;
	private Integer orderId;
	private String orderSn;
	private Double orderAmount;

	// Constructors

	/** default constructor */
	public AccountStatementOrders() {
	}

	/** full constructor */
	public AccountStatementOrders(Integer asId, Integer orderId,
			String orderSn, Double orderAmount) {
		this.asId = asId;
		this.orderId = orderId;
		this.orderSn = orderSn;
		this.orderAmount = orderAmount;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "aso_id", unique = true, nullable = false)
	public Integer getAsoId() {
		return this.asoId;
	}

	public void setAsoId(Integer asoId) {
		this.asoId = asoId;
	}

	@Column(name = "as_id", nullable = false)
	public Integer getAsId() {
		return this.asId;
	}

	public void setAsId(Integer asId) {
		this.asId = asId;
	}

	@Column(name = "order_id", nullable = false)
	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	@Column(name = "order_sn", nullable = false, length = 20)
	public String getOrderSn() {
		return this.orderSn;
	}

	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}

	@Column(name = "order_amount", nullable = false, precision = 10)
	public Double getOrderAmount() {
		return this.orderAmount;
	}

	public void setOrderAmount(Double orderAmount) {
		this.orderAmount = orderAmount;
	}

}